// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import * as echarts from 'echarts'
import dataV from '@jiaminghi/data-view';
import ChartBlock from 'echarts-vue-component'
import axios from 'axios';
import VueAMap from 'vue-amap'


Vue.use(ChartBlock)
Vue.use(dataV);
Vue.use(ElementUI);
Vue.use(VueAMap);
Vue.config.productionTip = false
Vue.prototype.$echarts = echarts;
Vue.use(echarts)

/* eslint-disable no-new */
Vue.prototype.axios = axios;
window._AMapSecurityConfig = {
  securityJsCode:'cebac2d3ff9a4bd6eb66f5b7b533e872',
}
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>',
});


